<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
<html class="zh-cn zh cn" lang="zh-cn">
<head>
	<%@ include file="../head.jsp"%>
</head>
<body class="vday home">
	<div id="page">
		<%@ include file="../global_navi.jsp"%>
		<%@ include file="../aos_header.jsp"%>
		<%@ include file="../guide.jsp"%>
		<div id="primary">
			<div id="primary_main" role="main">
				<div class="box featured-accessories" style="height: 100%;">
					<div class="title-bar">
						<h2>最新成交记录</h2>
					</div>
					<div class="box-content clearfix">
						<div class="product-grid"> 
							<c:if test="${fn:length(actRecordList) == 0}">
								没有成交记录
							</c:if>
							<c:forEach items="${actRecordList }" var="record" varStatus="status">
								<c:if test="${status.index % 4 == 0 }">
									<ul class="product-row clearfix first-row">
								</c:if>
								<li class="superlink product first-tile">
									<dl>
										<dt class="name" title="">
										  <c:out value="${record.buyerNick}"></c:out>
										</dt>
										<dd class="price">
											<span class="current_price">
												<c:if test="${record.status == 1}">成交</c:if>
												<c:if test="${record.status == 0}">未同步</c:if>
												<c:if test="${record.status == 2}">未同步</c:if>
											</span>
										</dd>
										<dd class="price">
											<span class="current_price">
												<fmt:formatNumber value="${record.price}" type="currency" var="money"/>
 												<c:out value="${money }"></c:out>
 											</span>
 										</dd>
										<dd class="price"><span class="current_price"><fmt:formatDate value="${record.recordTime }" pattern="yyyy-MM-dd HH:mm:ss"/></span></dd>
									</dl>
								</li>
								<c:if test="${status.index % 4 == 3 }">
									</ul>
								</c:if>
							</c:forEach>
						</div>
					</div>
					<div class="bottom-corners"></div>
				</div>
			</div>
			<div id="secondary" class="rail"><!-- 右侧功能菜单 -->
				<div role="navigation" aria-label="New Items" class="box navigation-list new-to-store">
					<div class="title-bar">
						<h2>操作</h2>
					</div>
					<div class="box-content clearfix">
						<div class="list_content">
							<ul>
								<li><a href="/activity/list" onclick="singleLoading();">返回活动首页</a></li>
								<li><a href="javascript:history.back();" onclick="singleLoading();">返回上一页</a></li>
								<li><a href="/activity/act_${aid}" onclick="singleLoading();">活动信息</a></li>
							</ul>
						</div>
					</div>
					<div class="bottom-corners"></div>
				</div>

				<div class="box navigation-list top-sellers"></div>
				<div class="module footerblock" ></div>
			</div>
		</div>
		<%@ include file="../left_navi.jsp"%><!-- 左侧导航 begin -->
		<span class="shrinkwrapfix"></span>
		<%@ include file="../footer.jsp"%><!-- 左侧导航 end -->
	</div>
<script type="text/javascript">
//<![CDATA[
jQuery(document).ready(function(){
	//设置当前路径
	jQuery("#breadcrumb").append('<li><span>:&nbsp;&nbsp;宝贝记录察看</span></li>');
});
function singleLoading(){
    jQuery("#nyroDiv a").nmCall();
}
//]]>
</script>
</body>
</html>
